set -x

docker run --rm --name logstash-json -e LOGSTASH_ELASTICSEARCH="http://kube-master:30703" -e JSON_PATH="/configdir/*/*.log" -v "$PWD":/configdir dockerhub.ygsoft.com:5000/logstash:5.1.1 -f /configdir/jsonfile.conf --log.level debug